import axiosInstance from '@/api/axiosInstance'
interface commissionListParams {
  stat_month?: string
  shop_id?: string
  shop_name?: string
  page?: number
  pageSize?: number
  // 其他查询条件...
}

// 获取店铺月统计列表
export const getShopStatMonthlyList = async (params?: commissionListParams) => {
  return axiosInstance.get('/admin/shop-stat-monthly', { params })
}

//导出店铺月统计列表
export const exportShopStatMonthlyList = async (params?: commissionListParams) => {
  return axiosInstance.get('/admin/shop-stat-monthly/export', { params, responseType: 'blob', timeout: 60000 })
}
